import sphRequest from '@/request/sph'

// 获取订单支付信息 GET /payment/weixin/createNative/{orderId}
export const getCreateNative = (orderId) => {
  return sphRequest.get(`/payment/weixin/createNative/${orderId}`)
}

// 查询订单的支付状态 GET /payment/weixin/queryPayStatus/{orderId}
export const getQueryPayStatus = (orderId) => {
  return sphRequest.get(`/payment/weixin/queryPayStatus/${orderId}`)
}
